/* 
 * File:   Sphere.h
 * Author: brady
 *
 * Created on June 24, 2011, 4:20 PM
 */

#ifndef SPHERE_H
#define	SPHERE_H

#include <shapes/Shape.h>


class Sphere : public Shape{
public:
    Sphere();
    Sphere(const Vector3D& origin, double radius);
    Sphere(const Sphere& orig);
    virtual ~Sphere();
    bool testIntersect(IntersectionParams& ip, IntersectionResult& ir);
private:
    void buildBoundingBox();
    double radius;
    Vector3D origin;
};

#endif	/* SPHERE_H */

